package org.example;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

// Press Shift twice to open the Search Everywhere dialog and type `show whitespaces`,
// then press Enter. You can now see whitespace characters in your code.
@SpringBootApplication
@RestController
public class Main {
    @Value("${clientParam}")
    private String clientParam;

    @GetMapping("/client")
    public String getParam(){
        return this.clientParam;
    }

    public static void main(String[] args) {
        SpringApplication.run(Main.class,args);
    }
}